import request from '../utils/request'




// 获取轮播图
export const getList = () => {
    return request({
        url: '/home/swiper',
        method: 'get',
    })
}

// 获取租房小组的数据
export const getGroups = (params) => {
    return request({
        url: '/home/groups',
        method: 'get',
        params
    })
}

// 获取最新资讯数据
export const getNews = (params) => {
    return request({
        url: '/home/news',
        method: 'get',
        params
    })
}